package org.example.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.example.domain.Role;

import java.util.List;

@Mapper
public interface RoleMapper {
    List<Role> list(Role role);

    void del(Integer id);

    void update(Role role);

    void add(Role role);

    List<Role> lists();

    Role getById(Integer id);
}
